/**
 * Callback method for when solution is opened.
 * When deeplinking into solutions, the argument part of the deeplink url will be passed in as the first argument
 * All query parameters + the argument of the deeplink url will be passed in as the second argument
 * For more information on deeplinking, see the chapters on the different Clients in the Deployment Guide.
 *
 * @param {String} arg startup argument part of the deeplink url with which the Client was started
 * @param {Object<Array<String>>} queryParams all query parameters of the deeplink url with which the Client was started
 *
 * @properties={typeid:24,uuid:"A6D1C1B5-DC16-46F8-9282-5874FCBD1EF9"}
 */
function onSolutionOpen_login(arg, queryParams) {

	var auth_solution = "pigeon_authenticator";
//	var method = "loginUser";
	var method = "chekADM";
	
	/***************************************************
	 * Comprobamos que exista un usuario Adminsitrador
	 **************************************************/
	 security.authenticate(auth_solution, method);
}
